﻿using System;
using System.Net.WebSockets;
using System.Runtime.InteropServices.ComTypes;

namespace Ｍｙ
{
    class Program
    {
        static void Main(string[] args)
        {
            const double PI = 3.1415926;
            int r = 5;
        
            Console.WriteLine("圆的面积是：" + PI * r * r);
            //驼峰命名
            string  userName = "abc";
            //一个分支
            var b = 5 < 2;
            if (b)
            {
                Console.WriteLine("条件为真");
            }
            //多个分支
            int cc = 12;
            int dd = 2;
            if (cc > dd)
            {
                Console.WriteLine("cc大");
            }
            else if (cc == dd) 
            {
                Console.WriteLine("cc和dd一样大");
            }
            else
            {
                Console.WriteLine("dd大");
            }
            int points = 97;
            switch (points/10)
            {
                case 10:
                
                case 9:
    
                case 8:
                    Console.WriteLine("三阶功法");
                    break;
                case 7:
                
                case 6:

                case 5:
                    Console.WriteLine("二阶功法");
                    break;
                case 4:
                case 3:
                case 2:
                case 1:
                    Console.WriteLine("一阶功法");
                    break;


            }
        }
    }
    //帕斯卡命名法
    class UserRoler
    {

    }
}
